package org.liushao.service.impl;

import org.liushao.dao.BookDao;
import org.liushao.entity.Book;
import org.liushao.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: untitled
 * @ClassName BookServiceImpl
 * @description:
 * @author: 刘庆东
 * @create: 2024−11-28 13:52
 * @Version 1.0
 **/
@Service
public class BookServiceImpl implements BookService {

    @Autowired
    private BookDao bookDao;

    @Override
    public void insertBook(Book book) {

        bookDao.add(book);

    }
}
